import fetch from 'common/src/utils/fetch';

/**
 * 查询申请辅修报名名单列表
 */
export function queryApplyNameListInfo(data) {
    return fetch({
        url: '/api/cultureservice/applyMinorSignUpList/queryApplyNameListInfo',
        method: 'POST',
        data
    });
}

/**
 *  导出学生报名名单信息
 */
export function exportStudentList(params) {
    let url = '/api/cultureservice/applyMinorSignUpList/exportApplyNameListInfo';
    let query = '?';
    for (let key in params) {
        query += key;
        query += '=';
        query += params[key];
        query += '&';
    }
    return url + query.substring(0, query.length - 1);
}
